/* 自定义样式补充 */

/* 响应式优化 */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 0;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .search-section {
        padding: 1rem;
    }
    
    .image-card .thumbnail {
        height: 150px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-card {
    animation: fadeIn 0.5s ease;
}

/* 加载动画 */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* 选择状态样式 */
.image-card.selected::before {
    content: '✓';
    position: absolute;
    top: 10px;
    left: 10px;
    background: #667eea;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 10;
}

/* 悬停效果增强 */
.image-card:hover .card-img-top {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* 按钮组样式 */
.btn-group-sm .btn {
    font-size: 0.875rem;
}

/* 标签样式 */
.badge {
    font-size: 0.75rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: 10px;
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5a6fd8;
}
